package demo.huodongbaoming.service;

import demo.huodongbaoming.dto.ActivityDTO;
import demo.huodongbaoming.dto.ActivityRequest;
import demo.huodongbaoming.entity.Activity;

import java.util.List;

public interface ActivityService {
    ActivityDTO createActivity(ActivityRequest activityRequest, Long creatorId);
    ActivityDTO getActivityById(Long id);
    List<ActivityDTO> getAllActivities();
    List<ActivityDTO> getActiveActivities();
    List<ActivityDTO> getActivitiesByCreator(Long creatorId);
    List<ActivityDTO> getActivitiesByCategory(Long categoryId);
    ActivityDTO updateActivity(Long id, ActivityRequest activityRequest);
    void deleteActivity(Long id);
    ActivityDTO registerForActivity(Long activityId, Long userId);
    ActivityDTO cancelRegistration(Long activityId, Long userId);
    List<ActivityDTO> getRegisteredActivities(Long userId);
    ActivityDTO updateActivityStatus(Long id, boolean isActive);
} 